/* @(#)EmergencyOrderDetailVO.java    V0.1
 *
 * Project: GSdevelop
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen         2006-4-13
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSEmergencyOrderDetailVO implements GSBaseBean{

    public String concentricityid;
    public String manufactureid;
    public String manufacturename;
    public String manufacturespec;
    public String manfacturetype;
    public String manufacturebrand;
    public double ordercount;
    public double singnincount;
    public String quantunit;
    public double goodsunitprice;
    public double signinprice;
    public String providerid;
    public String orderId;
    public String orderDetailId;
    
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSEmergencyOrderDetailVO tEmergencyOrderDetailVO = new GSEmergencyOrderDetailVO();
        
        tEmergencyOrderDetailVO.concentricityid = aResultSet.getString("P1").trim();
        tEmergencyOrderDetailVO.manufactureid = aResultSet.getString("P2").trim();
        tEmergencyOrderDetailVO.manufacturename = aResultSet.getString("P3").trim();
        tEmergencyOrderDetailVO.manufacturespec = aResultSet.getString("P4")==null?"":aResultSet.getString("P4").trim();
        tEmergencyOrderDetailVO.manfacturetype = aResultSet.getString("P5")==null?"":aResultSet.getString("P5").trim();
        tEmergencyOrderDetailVO.manufacturebrand = aResultSet.getString("P6")==null?"":aResultSet.getString("P6").trim();
        tEmergencyOrderDetailVO.ordercount = aResultSet.getDouble("P7");
        tEmergencyOrderDetailVO.singnincount = aResultSet.getDouble("P8");
        tEmergencyOrderDetailVO.quantunit = aResultSet.getString("P9");
        tEmergencyOrderDetailVO.goodsunitprice = aResultSet.getDouble("P10");
        tEmergencyOrderDetailVO.signinprice = aResultSet.getDouble("P11");
        tEmergencyOrderDetailVO.providerid = aResultSet.getString("P12");
        tEmergencyOrderDetailVO.orderId = aResultSet.getString("P13");
        tEmergencyOrderDetailVO.orderDetailId = aResultSet.getString("P14");
        
        return tEmergencyOrderDetailVO;
    }

}
